<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        var n=0;
        while(n<=100){
            if(n%2===1){
                console.log(n);
            }
            n++;
        }
        var m=0;
        var num=0;
        while(m<=100){
            num+=m;
            m++;
        }
        console.log(num);
    </script>
</body>
</html>